package org.darkforest.dao.mapper;

import org.darkforest.dao.annotation.DBMapper;
import org.darkforest.model.SpecValue;

import java.util.List;

@DBMapper
public interface SpecValueMapper {
    int deleteByPrimaryKey(Integer spValueId);

    int insert(SpecValue record);

    int insertSelective(SpecValue record);

    SpecValue selectByPrimaryKey(Integer spValueId);

    int updateByPrimaryKeySelective(SpecValue record);

    int updateByPrimaryKey(SpecValue record);

    List<SpecValue> findSpecValue(SpecValue record);

    int batchAddSpecValue(List<SpecValue> record);

    /**
     * 根据Spid删除记录
     * @param spId
     */
    void deleteBySpId(Integer spId);
}